package dadaRent;

public class PickUpTruck extends AllCar {

    public PickUpTruck(int carNum, String carName, int carPrice, int loadMan, int loadThing, int type) {
        super(carNum, carName, carPrice, loadMan, loadThing, type);
    }


    @Override
    public void print() {
        System.out.printf("%-4s %-10s %-10s %s %s ",this.carNum+".",this.carName,this.carPrice+"元/天","载人："+this.loadMan+"人","载货："+this.loadThing+"吨");

    }
}
